/* ================================ *** Form *** ================================ */
// ================================================================ form
.ant-input{.f12!important;.pl(3)!important;}
.ant-input-number{.w!important;.f12!important;}
.input-group{display:flex!important;
	>div>*{.w!important;}
}
.ant-form-item-explain-error:extend(.fxj all){.w;}
// placeholder
.ant-select-selection-placeholder,input::-webkit-input-placeholder{
    .op(1)!important;
    .g9!important;
}

// input.search
.ant-input-search{
    .ant-input-clear-icon{.mr5}
}
// select
.ant-select-item-option-content,.ant-select-selection-item{.f12!important;}
.ant-select-selection-placeholder{.f12;}
.ant-select-multiple .ant-select-selection-item{.bor0!important;.bc!important;}
// error
.ant-form-item-explain{.abs_lb(0,-24);.f12!important;}
// Upload
.upload-list li{.m(0 2% 0 0)}
.avatar-uploader{
    .ant-upload-picture-card-wrapper{.db!important;.wau!important;}
}
.ant-upload.ant-upload-select-picture-card{.m!important;}
// Dropdown
.ant-dropdown-menu{.p!important;}
// input
.ant-input-affix-wrapper-lg{
	input{.f13;
	    &::-webkit-input-placeholder{.rel;.f13;}
	}
}
.ant-select-lg .ant-select-selection-placeholder,.ant-select-selection-item{.f13}
// .ant-input[disabled]{.g9!important;}
// checkbox
.ant-checkbox-wrapper{.f12!important;}
.ant-checkbox + span{.c(#333)!important;}
.ant-checkbox-checked + span{.c0!important;}
.ant-checkbox-disabled + span{color:rgba(0, 0, 0, 0.25)!important;}
// radio
.ant-radio-button-wrapper-checked span{color:#fff!important;}
// button
.ant-btn-lg{.f14!important;}
// dataPicker
.ant-form-item-control .ant-picker{.w;}
// error
.ant-form-item-has-error .ant-select-selector{.r100px!important;}
// upload
.ant-upload.ant-upload-select-picture-card{.oh}
// 
.ant-cascader-menu{
	.scrollbar(5,#666);
}

// ================================================================ 搜索表单
.ant-input-affix-wrapper.ant-input-affix-wrapper-borderless, 
.ant-select.ant-select-borderless,
.ant-input-number-borderless,
.ant-input.ant-input-borderless,
body .ant-picker.ant-picker-borderless,
.no-clear-item .ant-form-item-control-input-content,
.no-clear-item-textarea .ant-form-item-control-input-content,
.date-time-picker .ant-picker.ant-picker-borderless,
.ant-cascader-picker,
{.bc(#F7FAFA)!important;}


.ant-input-affix-wrapper.ant-input-affix-wrapper-borderless, 
.ant-input-number-borderless,
.ant-input.ant-input-borderless,
.ant-select.ant-select-borderless, .ant-picker.ant-picker-borderless,
.no-clear-item .ant-form-item-control-input-content,
.ant-picker.ant-picker-borderless,
.ant-cascader-picker,
.ant-picker, .ant-select-borderless .ant-select-selector
{.r100px!important;}
//
.ant-picker-input > input:focus, .ant-picker-input > input-focused{
	.bor_c(@main-color)!important;
}
.ant-input-affix-wrapper.ant-input-affix-wrapper-textarea-with-clear-btn,
textarea.ant-input.ant-input-borderless,
{.r5px!important;}

.ant-form-item-has-error{
	.ant-input-number-borderless,
	.ant-input-affix-wrapper.ant-input-affix-wrapper-borderless
	{.bor(red)!important;.oh;}
}

.dropdown-small{
	.ant-select-item-option-content{.f12!important;}
	.ant-select-item{.mh(22)!important;.lh18!important;.p(2px 10px)!important;}
}
.ant-form{
	&.s3 .ant-form-item-label{.w(46)}
	&.s4 .ant-form-item-label{.w(60)}
	&.s5 .ant-form-item-label{.w(71)}
	&.s6 .ant-form-item-label{.w(85)}
	&.s7 .ant-form-item-label{.w(96)}
	&.s8 .ant-form-item-label{.w(110)}
	&.s9 .ant-form-item-label{.w(124)}
	&.s10 .ant-form-item-label{.w(128)}
	&.s11 .ant-form-item-label{.w(142)}
	&.w50 .ant-form-item-label{.w(50)}
	&.w60 .ant-form-item-label{.w(60)}
	&.w70 .ant-form-item-label{.w(72)}
	&.w80 .ant-form-item-label{.w(80)}
	&.w100 .ant-form-item-label{.w(100)}
	&.w120 .ant-form-item-label{.w(110)}
	&.w200 .ant-form-item-label{.w(200)}
	&.x100{
		.ant-form-item{.db!important;}
		.ant-form-item-control{.mr20}
	}
	&.right{
		label{.tr;.w;.db;}
	}
	.t120 .ant-form-item-control{.w(120)!important;}
	.break-text .ant-form-item-label{white-space:normal;}
}
.big-upload{
	.ant-upload-list-picture-card-container{.m(0 2px 2px)!important;}
	.ant-upload-list-item{.p!important;.bor0!important;}
	.ant-upload-list-picture-card{.mh(120);}
	.ant-upload-list-picture-card-container{.ww(120)!important;}
	.ant-upload-select{.wh(50,26)!important;.abs_rt(0, -28);.fx!important;.xm;.xc;
		.anticon{.f12!important;}
		.ant-upload{
			&:after{.cn('\4e0a\4f20');.f12;.g6;}
		}
	}
	.ant-upload-list-item-thumbnail{.fit!important;
		img{.fit!important;.wh!important;}
	}
	.ant-upload-draggable-list-item{.h}
}

.ant-input-sm{.f12!important;}
.ant-picker-small input{.f12!important;;.h22!important;}
.small-form{
	label{.f12!important;.g3 !important; .h(auto)!important;}
	// .ant-form-item-label{.hh30!important;}
	.fixed-height .ant-form-item-control-input-content{.h30;}
	// .ant-input-affix-wrapper,.ant-select-selector{.r3px!important}
	.ant-picker-input > input{}
	.ant-form-item-control-input{.mh(1)}
	input::-webkit-input-placeholder,.ant-select-selection-placeholder{.g9!important;.f12;}
	.ant-select-selection-item,.ant-select-selection-search-input{.f12!important;}
	// .ant-form-item:extend(.fxm all){}
	
	// .ant-form-item-control-input{.bc(#F7FAFA);.r5px;}
	.ant-input{.f12!important;}
	.no-label{
		.ant-form-item-label label{.dn!important;}
	}
}
.search-form{
	.ant-row{flex-flow:row nowrap!important;.mb5!important;}
	.ant-form-item-label:extend(.fxm all){}
	.ant-input{.h24}
	.ant-checkbox-wrapper{.rel;.t(1);}
}
.submit-form{
	// .ant-input{.bc(transparent)!important;}
	.ant-form-item-label{
		label{.f12!important;.g3 !important; .h(30)!important;.tr;}
	}
	.ant-form-item-explain{.lh(18)!important;}
	.ant-picker-input input{.f12!important;}
	.ant-form-item-control{.mw(0)}
	.ant-form-item-control{
		.ant-select-selector,.ant-picker{.h30!important;}
	}
	.auto-height{
		.ant-select-selector{.h(auto)!important;}
	}
	.ant-radio{.rel;.t(4);}
	textarea{.p(5px 12px)!important;}
	
	.antd-table{
		.ant-checkbox-wrapper{.hau!important;.t}
	}
	.jzer-checkbox-item{
		.ant-checkbox-wrapper{.rel;.t(4);}
		.ant-checkbox{.rel;.t(3)}
	}
	.jzer-checkboxGroup-item{
		.ant-form-item-control-input{.mt(4)}
	}
}
.ant-modal-content{
	.submit-form{
		.ant-radio{.t(4);}
	}
}

.item-has-btn{
	.ant-form-item-control-input-content:extend(.fxm all){}
}
// 日期选择-复选框间距
.ant-checkbox-group-item{.tl!important;}
.checkbox-date .ant-checkbox-group-item{.w(60);}
.checkbox-groups{
	.ant-checkbox-wrapper{.m!important;.w(106);}
	.ant-checkbox-group-item{.w(106);}
}
// 实验结果表单
.middle-form{
	.ant-form-item-explain-error{.dn!important;}
	.el-textarea{
		.ant-input-affix-wrapper{.h(auto)!important;}
	}
	.full-textarea{
		.ant-input-affix-wrapper{.wh!important;}
	}
	.ant-radio{.t!important;}
}
.submit-item{
	.ant-picker, .ant-select-selector{.w;outline: none!important;
		.bor(#F7FAFA)!important;
		.bc(#F7FAFA)!important;
		.r100px!important;
	}
	.ant-select-selector .ant-select-selection-item,.ant-select-selection-placeholder{.lh30!important;}
	.ant-select-selector,.ant-picker{.hh30!important;}
	// .ant-radio{.t(5)!important;}
	.ant-radio-wrapper:extend(.xm all){}
	.ant-radio-group{.w}
	.ant-input-number{.f12!important}
	
}
.el-input{
	.ant-input-number,.ant-input-affix-wrapper, .ant-input-number-input-wrap{.h30!important;}
	.ant-input-number{.db!important;}
	.ant-input-number-input{.h!important}
	.ant-form-item-has-error .ant-input-number-input:placeholder-shown{.lh30;.rel;.t(-1)}
}

.checkbox-list{
	label{.hau!important;.lh(14)!important;.tl; display:flex!important;.xt;.mb;}
	.ant-checkbox{.t(0)!important;}
	.submit-item{.mb(3)}
}
.checkbox-wraper{
	.ant-checkbox-wrapper{.t!important;}
}
// 自定义排版表单
.submit-item-form{
	.ant-form-item-label{.w(85)}
}
// 自定义 input 
.line_input{
	input{.h30;.bbor(#999);.w(60);.tc;
		&[disabled]{.bcf;.bor_c(#ddd)}
	}
	
}
// 设置只读元素的样式
.read-only{
	.ant-input{.p(4px 13px)!important;}
	.ant-select, .ant-input, .ant-input-number-input{.rgba(255,255,255,.2)!important;}
}
// 禁用样式
.jz-form{
	// .ant-input{.bc(transparent)!important;}
	.form-disabled{
		::-webkit-input-placeholder, .ant-select-selection-placeholder{
		    .op(0.5)!important;
		}
		.ant-select,
		.ant-select-selector,
		.ant-cascader-picker,
		.ant-input-number,
		.ant-picker,
		.ant-select-selection-item{
			.bc(rgba(0,0,0,0.009))!important;
		}
		.ant-select-selection-item,input{.g6!important;}
	}
	// 去掉焦点边框
	.ant-select-selector, .ant-picker{box-shadow:none!important;}
	
	.max-error{
		.ant-input-affix-wrapper{.bor(red)!important;}
		.max-count{.c(red);}
	}
}
.ant-input-disabled{.g6!important;}
//
.textarea-full{
	.ant-input-affix-wrapper, .ant-form-item,.ant-form-item-control-input,.ant-form-item-control-input-content{.wh}
	.ant-form-item-control-input-content:extend(.fv all){}
}

.ant-select-multiple{.c0;
	.ant-select-selection-item-content,.anticon-close{.c0;}
}
